<{include file="public/header.tpl"}>	
<div id="page-wrapper">
    <{ include file="public/title.tpl" }>
    <form  method="post" action="<{$url}>/update">
	
		<ul class="list-group">
			<input type="hidden" name="id" value="<{$post.id}>">
			<li class="list-group-item">
				<span class="label label-info">上级相册</span>
					<{ $select }>	
			</li>
			<li class="list-group-item">
				<span class="label label-info">相册标题<span class="red_font">*</span></span>
				<input type="text" class="form-control" name="title" size="20" value="<{ $post.title }>">
			</li>
			<li class="list-group-item">
				<span class="label label-info" style="margin-top:30px">相册描述</span>
				<textarea class="form-control" name="description" cols="30" rows="5"><{ $post.description }></textarea>
			</li>
		
			<li class="list-group-item">
				<button type="submit" class="btn btn-primary">修 改</button>
			    &nbsp;&nbsp;
			    <button type="reset"  class="btn btn-primary">重 置</button>
			    &nbsp;&nbsp;
				<button type="button" class="btn btn-primary" onclick="if(confirm('确定要删除吗?')) window.location='<{$url}>/del/id/<{$post.id}>'">删 除</button>
			</li>
		</ul>	
	
    </form>	
</div>
<{include file="public/footer.tpl"}>	


